package com.sneaker.shower.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Hechangjian
 * @version 1.0
 * @className WxMpProperties
 * @date 2019/07/26 17:48
 * @description 微信小程序基本配置类
 * @program bath
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx.ma")
public class WxMaProperties {

    /**
     * 设置微信小程序的appid
     */
    private String appId;

    /**
     * 设置微信小程序的Secret
     */
    private String appSecret;

    /**
     * 设置微信小程序消息服务器配置的token
     */
    private String token;

    /**
     * 设置微信小程序消息服务器配置的EncodingAESKey
     */
    private String AESKey;

    /**
     * 消息格式，XML或者JSON
     */
    private String msgDataFormat;

}
